#ifndef __C15A8B67_7048_478f_B9AA_3A98645DE708__
#define __C15A8B67_7048_478f_B9AA_3A98645DE708__

#include "../import/head.h"
#include "../tools/head.h"

/////////////////////////////////////////////////////////////////////////////////////////
// 

namespace xos
{
    // 
    // heart_impl
    // 
    class heart_acceptor : public xos_stl::mem_pool_item< heart_acceptor, thread_lock >
    {
    public:
        heart_acceptor();
        ~heart_acceptor();

    public:
        i_acceptor * m_pAcceptor;
        xos_i32 m_iInterval;
        xos_i32 m_iCurTime;

    public:
        int init();
        int term();

    public:
        // 
        // release
        // 
        int release();
    };
} // xos

#endif // __C15A8B67_7048_478f_B9AA_3A98645DE708__
